package org.wk.affiliate.domain;

import org.hibernate.annotations.GenericGenerator;
import org.wk.core.db.domain.BaseEntity;

import javax.persistence.*;

/**
 * @author TangShenShen
 * @Description: 公告实体bean
 * @date 2018/6/814:40
 */
@Entity(name = "org.wk.affiliate.domain.NoticeManage")
@Table(name = "j_notice_manage")
public class NoticeManage extends BaseEntity {
    /**
     * @Fields serialVersionUID: long
     * @Desc TODO:
     */
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "id", unique = true, nullable = false, length = 32)
    @GeneratedValue(generator="system-uuid")
    @GenericGenerator(name="system-uuid",strategy = "uuid")
    private String id;
    @Column
    private String noticeTitle;
    @Lob
    private String noticeContent;
    @Column
    private String noticeStatusCode;
    @Column
    private String noticeStatusName;

    public void setId(String id) {
        this.id = id;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public void setNoticeStatusCode(String noticeStatusCode) {
        this.noticeStatusCode = noticeStatusCode;
    }

    public void setNoticeStatusName(String noticeStatusName) {
        this.noticeStatusName = noticeStatusName;
    }

    public String getId() {

        return id;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public String getNoticeStatusCode() {
        return noticeStatusCode;
    }

    public String getNoticeStatusName() {
        return noticeStatusName;
    }
}
